﻿@model TravelWeb.Models.Schedule

@{
    ViewBag.Title = "Details";
}

<h2>Details</h2>

<fieldset>
    <legend>Schedule</legend>

    <div class="display-label">ScheduleName</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.ScheduleName)
    </div>

    <div class="display-label">Tour</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Tour.TourName)
    </div>

    <div class="display-label">Transportation</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Transportation.TransportationName)
    </div>

    <div class="display-label">ConfirmDate</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.ConfirmDate)
    </div>

    <div class="display-label">StartDate</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.StartDate)
    </div>

    <div class="display-label">EndDate</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.EndDate)
    </div>

    <div class="display-label">Description</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Description)
    </div>

    <div class="display-label">numOfCustomer</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.numOfCustomer)
    </div>

    <div class="display-label">Promotion</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Promotion.PromotionName)
    </div>

    <div class="display-label">MaxCustomer</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.MaxCustomer)
    </div>

    <div class="display-label">Status</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Status)
    </div>
</fieldset>
<p>
    @Html.ActionLink("Edit", "Edit", new { id=Model.ScheduleID }) |
    @Html.ActionLink("Back to List", "Index")
</p>
